package cn.hanna.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author smileha
 * @create 2021-10-17 17:11
 * @description
 */
@SpringBootApplication
@EnableFeignClients
// 1.开启@FeignClients扫描，扫描被该注解标注的接口，创建接口实现类，放到容器中
// 2.将openfeign配置类中的bean在spring ioc中注册
public class OrderOpenFeignMainApplication80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderOpenFeignMainApplication80.class,args);
    }
}
